modelbutton: Recreate our AT context
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Oct 2020 00:28:30 +0000 (20:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 Oct 2020 01:27:38 +0000 (21:27 -0400)
commit3e43dda9d419f16cef5426576f7819962849ef7f
tree5fcb788acc037a9075c125ce41f5fac309d89c2f
parentf96a1cfadd82d5a2996d849ef6e594beda0d1c8a
modelbutton: Recreate our AT context

When the button role changes, we want to update the
accessible role to match. Since accessible roles are
unchangeable post-creation of the AT context, we have
to cheat a bit and recreate the whole context.
gtk/gtkmodelbutton.c